[VERSN2]
version 2.5.5
watermark ""

unlock_memory all
speedreflect auto

// CarTypeInfo
import negate GLOBAL\GLOBALB.LZC CarTypeInfos CarTypeInfo\RX82009.bin

// Collision
import negate GLOBAL\GLOBALB.LZC Collisions Collisions\RX82009.bin

// Add Car Parts
### Add The Parts for the Cars ###
import negate GLOBAL\GLOBALB.LZC DBModelParts DBModelPart\RX82009.bin

// Add requierd Languages
if file_exists absolute LANGUAGES\ENGLISH.BIN
do
append String\English.end 
else
// do nothing
end

if file_exists absolute LANGUAGES\DANISH.BIN
do
append String\Danish.end 
else
// do nothing
end

if file_exists absolute LANGUAGES\FRENCH.BIN
do
append String\French.end 
else
// do nothing
end

if file_exists absolute LANGUAGES\GERMAN.BIN
do
append String\German.end 
else
// do nothing
end

if file_exists absolute LANGUAGES\ITALIAN.BIN
do
append String\Italian.end 
else
// do nothing
end

if file_exists absolute LANGUAGES\KOREAN.BIN
do
append String\Korean.end 
else
// do nothing
end

if file_exists absolute LANGUAGES\POLISH.BIN
do
append String\Polish.end 
else
// do nothing
end

if file_exists absolute LANGUAGES\SPANISH.BIN
do
append String\Spanish.end 
else
// do nothing
end

if file_exists absolute LANGUAGES\SWEDISH.BIN
do
append String\Swedish.end 
else
// do nothing
end


combobox "Vinyls 512x" "Vinyls 1024x" "Choose Vinyl Resolution"

"Vinyls 512x"
move_file negate relative absolute RX82009\Vinyls_512x.BIN CARS\RX82009\VINYLS.BIN

"Vinyls 1024x"
move_file negate relative absolute RX82009\Vinyls_1024x.BIN CARS\RX82009\VINYLS.BIN

end

//copies geometry.bin, textures.bin and vinyls.bin files from the RX82009 folder in the mod's folder to the CARS\RX82009 folder of the game, will overwrite existing files (override)
move_file override relative absolute RX82009\GEOMETRY.BIN CARS\RX82009\GEOMETRY.BIN
move_file override relative absolute RX82009\TEXTURES.BIN CARS\RX82009\TEXTURES.BIN

//copies RX82009.ini files from the scripts\unlimiterdata\ folder in the mod's folder to the scripts\unlimiterdata\ folder of the game, will overwrite existing files (override)
move_file override relative absolute scripts\unlimiterdata\RX82009.ini scripts\unlimiterdata\RX82009.ini

// Add required textures

if collection_exists FRONTEND\FRONTB.LZC TPKBlocks DEFAULT
do
bind_textures synchronize Frontend\FrontB.lzc TPKBlocks DEFAULT Textures\FrontB
else
bind_textures synchronize Frontend\FrontB.lzc TPKBlocks FRONTENDTEXTURES Textures\FrontB
end
